package shoppingmall.reception.pojo;

/**
 * 实体类-轮播图相关
 * 对应表结构(tb_carousel)
 */
public class Carousel {
    private int id;  //轮播图主键id
    private int categoryId;  //轮播图分类id
    private String imgUrl;  //轮播图对应的地址信息
    private String carouselType;  //轮播图类型，保留字段
    private String createTime;  //创建时间
    private String updateTime;  //更新时间

    public Carousel() {
    }

    public Carousel(int id, int categoryId, String imgUrl, String carouselType, String createTime, String updateTime) {
        this.id = id;
        this.categoryId = categoryId;
        this.imgUrl = imgUrl;
        this.carouselType = carouselType;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getCarouselType() {
        return carouselType;
    }

    public void setCarouselType(String carouselType) {
        this.carouselType = carouselType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
